package com.nzy.service;

import org.apache.dubbo.config.annotation.Service;
import org.redisson.Redisson;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class DubboProviderImpl implements DubboProvider{
    @Autowired
    private Redisson redisson;

    @Override
    public String test(String name) {
        return "Hello!" + name;
    }

    @Override
    public void testNoReturn() {
        redisson.getLock()

        System.out.println("无参 void.............ß");
    }
}
